package sctu.edu.java.year2016.team03.huzhou.day20160523.chapter4_3;

/**
 * Created by Administrator on 2016/5/23.
 */
public class work4_3 {
    public static void main(String[] args) {
        int i = 1;
        int j = 1;
        double sum = 0;
        for(;j<21;j++){
            sum +=i/j;
        }
        System.out.println("1+1/2+...+1/20="+sum);
    }
}
